package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PcrHskzyq;
import com.zhijian.medical.entity.vo.request.PcrHskzyqSearchVo;
import com.zhijian.medical.entity.vo.response.PcrHskzyqVo;

import java.util.List;

public interface PcrHskzyqMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据实验id进行删除
     *
     * @param pcrId
     * @return
     */
    int deleteByPcrId(Long pcrId);

    int insert(PcrHskzyq record);

    int insertSelective(PcrHskzyq record);

    PcrHskzyq selectByPrimaryKey(Long id);

    /**
     * 实验id查询po
     *
     * @param pcrId
     * @return
     */
    PcrHskzyq selectByPcrId(Long pcrId);

    int updateByPrimaryKeySelective(PcrHskzyq record);

    int updateByPrimaryKey(PcrHskzyq record);

    int count(PcrHskzyqSearchVo pcrHskzyqSearchVo);

    List<PcrHskzyqVo> selectList(PcrHskzyqSearchVo pcrHskzyqSearchVo);

    PcrHskzyqVo selectVoById(Long id);

    /**
     * 实验id查询vo
     *
     * @param pcrId
     * @return
     */
    PcrHskzyqVo selectVoByPcrId(Long pcrId);

}